from django.db import models
from sync.models import SFObject,SFField
from django.db.models import Q
from django.db import connection, transaction
from wizard.models.view import View

class ViewMenu(models.Model):
    view=models.ForeignKey(View)
    weight=models.IntegerField(default=0,null=True)
    menu=models.CharField(max_length=255,null=True)
    entry=models.CharField(max_length=255,null=True)
    url=models.CharField(max_length=255,null=True)
    
    class Meta:
        db_table = 'wizard_view_menu'
        app_label = 'wizard'             